<?php
/**
* Real Estate Projects Collection Rank Switch
*/

if (!defined("EXPONENT")) exit("");

if (exponent_permissions_check("administrate",$loc)) {

	$db->switchValues('duan_collections', 'rank', intval($_GET['a']), intval($_GET['b']), "location_data='".serialize($loc)."'");

	exponent_flow_redirect();
} else {
	echo SITE_403_HTML;
}

?>